<%--
  Created by IntelliJ IDEA.
  User: Ajian
  Date: 13-12-24
  Time: 下午3:05
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
  <title>UserLoginAndRegisterTest Login</title>
</head>
<body>
    <div class="message">${flash.message}</div>
    <g:link action="toReg">注册</g:link>
    <form action="login" method="post">
        帐号：<input type="text" name="login"/><br>
        密码：<input type="password" name="password" /><br>
        <input type="submit" value="登录" />
    </form>
<%
    /*def list=1000..9999
    list.each { i->
        if((i*9).toString().reverse()==i.toString())
            println i
    }*/

%>
</body>
</html>